package com.xiaoxin.yixinai.activity.form;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.xiaoxin.yixinai._frame.base.BaseModel;

/**
 * 活动留言类
 * @author wsg
 *
 */
@Entity
@Table(name = "tb_activity_form")
public class Form extends BaseModel {

    /**
     * 主键
     */
    @Id
    @Column(name = "id")
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer id;
    
    /**
     * 活动id
     */
    @Column(name = "activity_id")
    private Integer activityId;
    
    /**
     * 处理（0：未处理；1：已处理）
     */
    @Column(name = "handle")
    private Integer handle;
    
    /**
     * 处理内容
     */
    @Column(name = "handle_note")
    private String handle_note;
    
    /**
     * 微信id
     */
    @Column(name = "wx_user_id")
    private Integer wx_user_id;
    
    /**
     * 姓名
     */
    @Column(name = "name")
    private String name;
    
    /**
     * 手机号
     */
    @Column(name = "phone")
    private String phone;
    
    /**
     * 公司名称
     */
    @Column(name = "company_name")
    private String company_name;
    
    /**
     * 备注
     */
    @Column(name = "remarks")
    private String remarks;
    
    @Column(name = "company_id")
    private Integer companyId;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getActivityId() {
		return activityId;
	}

	public void setActivityId(Integer activityId) {
		this.activityId = activityId;
	}

	public Integer getHandle() {
		return handle;
	}

	public void setHandle(Integer handle) {
		this.handle = handle;
	}

	public String getHandle_note() {
		return handle_note;
	}

	public void setHandle_note(String handle_note) {
		this.handle_note = handle_note;
	}

	public Integer getWx_user_id() {
		return wx_user_id;
	}

	public void setWx_user_id(Integer wx_user_id) {
		this.wx_user_id = wx_user_id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getCompany_name() {
		return company_name;
	}

	public void setCompany_name(String company_name) {
		this.company_name = company_name;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public Integer getCompanyId() {
		return companyId;
	}

	public void setCompanyId(Integer companyId) {
		this.companyId = companyId;
	}
	
    
    
}
